<?php
//dezend by http://www.yunlu99.com/ QQ:270656184
echo "<!DOCTYPE HTML>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n<title>UploadiFive Test</title>\n<script src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js\" type=\"text/javascript\"></script>\n<script src=\"jquery.uploadify.min.js\" type=\"text/javascript\"></script>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"uploadify.css\">\n<style type=\"text/css\">\nbody {\n\tfont: 13px Arial, Helvetica, Sans-serif;\n}\n</style>\n</head>\n\n<body>\n\t<h1>Uploadify Demo</h1>\n\t<form>\n\t\t<div id=\"queue\"></div>\n\t\t<input id=\"file_upload\" name=\"file_upload\" type=\"file\" multiple=\"true\">\n\t</form>\n\n\t<script type=\"text/javascript\">\n\t\t";
$timestamp = time();
echo "\t\t\$(function() {\n\t\t\t\$('#file_upload').uploadify({\n\t\t\t\t'formData'     : {\n\t\t\t\t\t'timestamp' : '";
echo $timestamp;
echo "',\n\t\t\t\t\t'token'     : '";
echo md5('unique_salt' . $timestamp);
echo "'\n\t\t\t\t},\n\t\t\t\t'swf'      : 'uploadify.swf',\n\t\t\t\t'uploader' : 'uploadify.php'\n\t\t\t});\n\t\t});\n\t</script>\n</body>\n</html>";

?>
